package com.mind.xagame.message.model;
import java.util.List;
import java.util.ArrayList;
import com.mind.common.MessageCode;
import com.mind.core.net.msg.BaseMessage;
import java.util.Date;
import com.mind.core.annotation.Message;
/**创建新协议
*自动生成类
*/
@Message
public class ChangeGold extends BaseMessage{
	/***/
	private Integer gold;
	public ChangeGold(){}
	public ChangeGold(Integer gold){
	  this.gold=gold;
	}
	/**获取*/
	public Integer getGold(){
		return this.gold;
	}
	public boolean readImpl() {
		this.gold=readInteger();
		return true;
	}
	public boolean writeImpl() {
		writeInteger(this.gold);
		return true;
	}
	public short getType() {
		return MessageCode.ChangeGold_CODE;
	}
}
